package vip.youngboy.freejump.errors;

import java.io.Serializable;

/**
 * View Model for sending a parameterized error message.
 */
public class ParameterizedErrorVM implements Serializable {

    private static final long serialVersionUID = 1L;
    private final String error;
    private final String[] params;

    public ParameterizedErrorVM(String error, String... params) {
        this.error = error;
        this.params = params;
    }

    public String getError() {
        return error;
    }

    public String[] getParams() {
        return params;
    }

}
